home *** CD-ROM | disk | FTP | other *** search
/ Macwelt 2 / Macwelt DVD 2.cdr / System / Entwickler-Tools / macos9 / Javascript OSA 1.0.3 / Sample Scripts / CGI Scripting / JavaScript CGI < prev   
MacBinary  |  2000-09-29  |  5.3 KB  |  [osas/ToyS]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, Fri Sep 29 08:34:28 2000, modified Fri Sep 29 08:34:28 2000, creator 'ToyS', type 'osas' "JavaScript CGI", at 0x80 5178 bytes resource Apple HFS/HFS+ resource fork, map offset 0x1384, map length 0xb6, data length 0x1284, nextResourceMap 0x8c2bf8c, fileRef 0x4fa, list offset 0x1c, name offset 0xaa, 7 types, 0x53495a45 'SIZE' * 1 resource offset 0x3a default (weak)
99% file Adobe Photoshop Color swatch, version 0, 256 colors; 1st RGB space (0), w 0x1384, x 0, y 0x1284, z 0 ; 2nd space (182), w 0, x 0, y 0, z 0 default (weak)
98% file data default
100% TrID MacBinary 2 default (weak)
100% dearkID deark: macbinary default
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[osas]
macFileCreator[ToyS]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0e 4a 61 76 61 53 63 | 72 69 70 74 20 43 47 49 |..JavaSc|ript CGI|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 6f 73 61 73 54 6f 79 | 53 00 00 ff ff ff ff 00 |.osasToy|S.......|
|00000050| 00 00 00 00 00 00 00 00 | 00 14 3a b5 fa 3c d4 b5 |........|..:..<..|
|00000060| fa 3c d4 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.<......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 39 e1 00 00 |........|....9...|
|00000080| 00 00 01 00 00 00 13 84 | 00 00 12 84 00 00 00 b6 |........|........|
|00000090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 0a 58 e0 00 07 | d0 00 00 07 d0 00 00 00 |....X...|........|
|00000190| 00 02 00 00 00 00 00 02 | 00 01 00 00 00 14 00 65 |........|.......e|
|000001a0| 00 2a 02 74 02 4b 00 65 | 00 2a 02 74 02 4b 00 00 |.*.t.K.e|.*.t.K..|
|000001b0| 00 01 00 00 09 18 66 75 | 6e 63 74 69 6f 6e 20 68 |......fu|nction h|
|000001c0| 61 6e 64 6c 65 5f 43 47 | 49 5f 72 65 71 75 65 73 |andle_CG|I_reques|
|000001d0| 74 28 61 65 5f 70 61 72 | 61 6d 73 29 20 7b 0d 09 |t(ae_par|ams) {..|
|000001e0| 76 61 72 20 68 65 61 64 | 65 72 20 3d 20 22 48 54 |var head|er = "HT|
|000001f0| 54 50 2f 31 2e 30 20 32 | 30 30 20 4f 4b 5c 6e 53 |TP/1.0 2|00 OK\nS|
|00000200| 65 72 76 65 72 3a 20 4d | 61 63 48 54 54 50 5c 6e |erver: M|acHTTP\n|
|00000210| 4d 49 4d 45 2d 56 65 72 | 73 69 6f 6e 3a 20 31 2e |MIME-Ver|sion: 1.|
|00000220| 30 5c 6e 43 6f 6e 74 65 | 6e 74 2d 74 79 70 65 3a |0\nConte|nt-type:|
|00000230| 20 74 65 78 74 2f 68 74 | 6d 6c 5c 6e 5c 6e 22 3b | text/ht|ml\n\n";|
|00000240| 0d 09 0d 09 74 72 79 0d | 09 7b 0d 09 09 76 61 72 |....try.|.{...var|
|00000250| 20 70 61 72 61 6d 50 61 | 74 68 20 3d 20 61 65 5f | paramPa|th = ae_|
|00000260| 70 61 72 61 6d 73 2e 6f | 66 3b 0d 09 09 76 61 72 |params.o|f;...var|
|00000270| 20 73 65 61 72 63 68 69 | 6e 67 46 6f 72 20 3d 20 | searchi|ngFor = |
|00000280| 61 65 5f 70 61 72 61 6d | 73 2e 73 65 61 72 63 68 |ae_param|s.search|
|00000290| 69 6e 67 5f 66 6f 72 3b | 0d 09 09 76 61 72 20 77 |ing_for;|...var w|
|000002a0| 69 74 68 50 6f 73 74 65 | 64 44 61 74 61 20 3d 20 |ithPoste|dData = |
|000002b0| 61 65 5f 70 61 72 61 6d | 73 2e 77 69 74 68 5f 70 |ae_param|s.with_p|
|000002c0| 6f 73 74 65 64 5f 64 61 | 74 61 3b 0d 09 09 76 61 |osted_da|ta;...va|
|000002d0| 72 20 6f 66 43 6f 6e 74 | 65 6e 74 54 79 70 65 20 |r ofCont|entType |
|000002e0| 3d 20 61 65 5f 70 61 72 | 61 6d 73 2e 6f 66 5f 63 |= ae_par|ams.of_c|
|000002f0| 6f 6e 74 65 6e 74 5f 74 | 79 70 65 3b 0d 09 09 76 |ontent_t|ype;...v|
|00000300| 61 72 20 75 73 69 6e 67 | 41 63 63 65 73 73 4d 65 |ar using|AccessMe|
|00000310| 74 68 6f 64 20 3d 20 61 | 65 5f 70 61 72 61 6d 73 |thod = a|e_params|
|00000320| 2e 75 73 69 6e 67 5f 61 | 63 63 65 73 73 5f 6d 65 |.using_a|ccess_me|
|00000330| 74 68 6f 64 3b 0d 09 09 | 76 61 72 20 66 72 6f 6d |thod;...|var from|
|00000340| 41 64 64 72 65 73 73 20 | 3d 20 61 65 5f 70 61 72 |Address |= ae_par|
|00000350| 61 6d 73 2e 66 72 6f 6d | 5f 61 64 64 72 65 73 73 |ams.from|_address|
|00000360| 3b 0d 09 09 76 61 72 20 | 66 72 6f 6d 55 73 65 72 |;...var |fromUser|
|00000370| 20 3d 20 61 65 5f 70 61 | 72 61 6d 73 2e 66 72 6f | = ae_pa|rams.fro|
|00000380| 6d 5f 75 73 65 72 3b 0d | 09 09 76 61 72 20 75 73 |m_user;.|..var us|
|00000390| 69 6e 67 50 61 73 73 77 | 6f 72 64 20 3d 20 61 65 |ingPassw|ord = ae|
|000003a0| 5f 70 61 72 61 6d 73 2e | 75 73 69 6e 67 5f 70 61 |_params.|using_pa|
|000003b0| 73 73 77 6f 72 64 3b 0d | 09 09 76 61 72 20 77 69 |ssword;.|..var wi|
|000003c0| 74 68 55 73 65 72 49 6e | 66 6f 20 3d 20 61 65 5f |thUserIn|fo = ae_|
|000003d0| 70 61 72 61 6d 73 2e 77 | 69 74 68 5f 75 73 65 72 |params.w|ith_user|
|000003e0| 5f 69 6e 66 6f 3b 0d 09 | 09 76 61 72 20 66 72 6f |_info;..|.var fro|
|000003f0| 6d 53 65 72 76 65 72 20 | 3d 20 61 65 5f 70 61 72 |mServer |= ae_par|
|00000400| 61 6d 73 2e 66 72 6f 6d | 5f 73 65 72 76 65 72 3b |ams.from|_server;|
|00000410| 0d 09 09 76 61 72 20 76 | 69 61 50 6f 72 74 20 3d |...var v|iaPort =|
|00000420| 20 61 65 5f 70 61 72 61 | 6d 73 2e 76 69 61 5f 70 | ae_para|ms.via_p|
|00000430| 6f 72 74 3b 0d 09 09 76 | 61 72 20 65 78 65 63 75 |ort;...v|ar execu|
|00000440| 74 69 6e 67 42 79 20 3d | 20 61 65 5f 70 61 72 61 |tingBy =| ae_para|
|00000450| 6d 73 2e 65 78 65 63 75 | 74 69 6e 67 5f 62 79 3b |ms.execu|ting_by;|
|00000460| 0d 09 09 76 61 72 20 72 | 65 66 65 72 72 65 64 42 |...var r|eferredB|
|00000470| 79 20 3d 20 61 65 5f 70 | 61 72 61 6d 73 2e 72 65 |y = ae_p|arams.re|
|00000480| 66 65 72 72 65 64 5f 62 | 79 3b 0d 09 09 76 61 72 |ferred_b|y;...var|
|00000490| 20 66 72 6f 6d 42 72 6f | 77 73 65 72 20 3d 20 61 | fromBro|wser = a|
|000004a0| 65 5f 70 61 72 61 6d 73 | 2e 66 72 6f 6d 5f 62 72 |e_params|.from_br|
|000004b0| 6f 77 73 65 72 3b 0d 09 | 09 76 61 72 20 75 73 69 |owser;..|.var usi|
|000004c0| 6e 67 41 63 74 69 6f 6e | 20 3d 20 61 65 5f 70 61 |ngAction| = ae_pa|
|000004d0| 72 61 6d 73 2e 75 73 69 | 6e 67 5f 61 63 74 69 6f |rams.usi|ng_actio|
|000004e0| 6e 3b 0d 09 09 76 61 72 | 20 6f 66 41 63 74 69 6f |n;...var| ofActio|
|000004f0| 6e 54 79 70 65 20 3d 20 | 61 65 5f 70 61 72 61 6d |nType = |ae_param|
|00000500| 73 2e 6f 66 5f 61 63 74 | 69 6f 6e 5f 74 79 70 65 |s.of_act|ion_type|
|00000510| 3b 0d 09 09 76 61 72 20 | 66 72 6f 6d 43 6c 69 65 |;...var |fromClie|
|00000520| 6e 74 49 50 41 64 64 72 | 65 73 73 20 3d 20 61 65 |ntIPAddr|ess = ae|
|00000530| 5f 70 61 72 61 6d 73 2e | 66 72 6f 6d 5f 63 6c 69 |_params.|from_cli|
|00000540| 65 6e 74 5f 49 50 5f 61 | 64 64 72 65 73 73 3b 0d |ent_IP_a|ddress;.|
|00000550| 09 09 76 61 72 20 77 69 | 74 68 46 75 6c 6c 52 65 |..var wi|thFullRe|
|00000560| 71 75 65 73 74 20 3d 20 | 61 65 5f 70 61 72 61 6d |quest = |ae_param|
|00000570| 73 2e 77 69 74 68 5f 66 | 75 6c 6c 5f 72 65 71 75 |s.with_f|ull_requ|
|00000580| 65 73 74 3b 0d 09 09 76 | 61 72 20 77 69 74 68 43 |est;...v|ar withC|
|00000590| 6f 6e 6e 65 63 74 69 6f | 6e 49 44 20 3d 20 61 65 |onnectio|nID = ae|
|000005a0| 5f 70 61 72 61 6d 73 2e | 77 69 74 68 5f 63 6f 6e |_params.|with_con|
|000005b0| 6e 65 63 74 69 6f 6e 5f | 49 44 3b 0d 09 09 0d 09 |nection_|ID;.....|
|000005c0| 09 76 61 72 20 72 65 73 | 70 6f 6e 73 65 20 3d 20 |.var res|ponse = |
|000005d0| 68 65 61 64 65 72 3b 0d | 09 09 72 65 73 70 6f 6e |header;.|..respon|
|000005e0| 73 65 20 2b 3d 20 22 3c | 48 54 4d 4c 3e 3c 48 45 |se += "<|HTML><HE|
|000005f0| 41 44 3e 3c 54 49 54 4c | 45 3e 4a 61 76 61 53 63 |AD><TITL|E>JavaSc|
|00000600| 72 69 70 74 20 43 47 49 | 3c 2f 54 49 54 4c 45 3e |ript CGI|</TITLE>|
|00000610| 3c 48 45 41 44 3e 22 0d | 09 09 72 65 73 70 6f 6e |<HEAD>".|..respon|
|00000620| 73 65 20 2b 3d 20 22 70 | 61 74 68 3a 20 22 20 2b |se += "p|ath: " +|
|00000630| 20 70 61 72 61 6d 50 61 | 74 68 20 2b 20 22 3c 62 | paramPa|th + "<b|
|00000640| 72 3e 22 3b 0d 09 09 72 | 65 73 70 6f 6e 73 65 20 |r>";...r|esponse |
|00000650| 2b 3d 20 22 73 65 61 72 | 63 68 69 6e 67 46 6f 72 |+= "sear|chingFor|
|00000660| 3a 20 22 20 2b 20 73 65 | 61 72 63 68 69 6e 67 46 |: " + se|archingF|
|00000670| 6f 72 20 2b 20 22 3c 62 | 72 3e 22 3b 0d 09 09 72 |or + "<b|r>";...r|
|00000680| 65 73 70 6f 6e 73 65 20 | 2b 3d 20 22 77 69 74 68 |esponse |+= "with|
|00000690| 50 6f 73 74 65 64 44 61 | 74 61 3a 20 22 20 2b 20 |PostedDa|ta: " + |
|000006a0| 77 69 74 68 50 6f 73 74 | 65 64 44 61 74 61 20 2b |withPost|edData +|
|000006b0| 20 22 3c 62 72 3e 22 3b | 0d 09 09 72 65 73 70 6f | "<br>";|...respo|
|000006c0| 6e 73 65 20 2b 3d 20 22 | 6f 66 43 6f 6e 74 65 6e |nse += "|ofConten|
|000006d0| 74 54 79 70 65 3a 20 22 | 20 2b 20 6f 66 43 6f 6e |tType: "| + ofCon|
|000006e0| 74 65 6e 74 54 79 70 65 | 20 2b 20 22 3c 62 72 3e |tentType| + "<br>|
|000006f0| 22 3b 0d 09 09 72 65 73 | 70 6f 6e 73 65 20 2b 3d |";...res|ponse +=|
|00000700| 20 22 75 73 69 6e 67 41 | 63 63 65 73 73 4d 65 74 | "usingA|ccessMet|
|00000710| 68 6f 64 3a 20 22 20 2b | 20 75 73 69 6e 67 41 63 |hod: " +| usingAc|
|00000720| 63 65 73 73 4d 65 74 68 | 6f 64 20 2b 20 22 3c 62 |cessMeth|od + "<b|
|00000730| 72 3e 22 3b 0d 09 09 72 | 65 73 70 6f 6e 73 65 20 |r>";...r|esponse |
|00000740| 2b 3d 20 22 66 72 6f 6d | 41 64 64 72 65 73 73 3a |+= "from|Address:|
|00000750| 20 22 20 2b 20 66 72 6f | 6d 41 64 64 72 65 73 73 | " + fro|mAddress|
|00000760| 20 2b 20 22 3c 62 72 3e | 22 3b 0d 09 09 72 65 73 | + "<br>|";...res|
|00000770| 70 6f 6e 73 65 20 2b 3d | 20 22 66 72 6f 6d 55 73 |ponse +=| "fromUs|
|00000780| 65 72 3a 20 22 20 2b 20 | 66 72 6f 6d 55 73 65 72 |er: " + |fromUser|
|00000790| 20 2b 20 22 3c 62 72 3e | 22 3b 0d 09 09 72 65 73 | + "<br>|";...res|
|000007a0| 70 6f 6e 73 65 20 2b 3d | 20 22 75 73 69 6e 67 50 |ponse +=| "usingP|
|000007b0| 61 73 73 77 6f 72 64 3a | 20 22 20 2b 20 75 73 69 |assword:| " + usi|
|000007c0| 6e 67 50 61 73 73 77 6f | 72 64 20 2b 20 22 3c 62 |ngPasswo|rd + "<b|
|000007d0| 72 3e 22 3b 0d 09 09 72 | 65 73 70 6f 6e 73 65 20 |r>";...r|esponse |
|000007e0| 2b 3d 20 22 77 69 74 68 | 55 73 65 72 49 6e 66 6f |+= "with|UserInfo|
|000007f0| 3a 20 22 20 2b 20 77 69 | 74 68 55 73 65 72 49 6e |: " + wi|thUserIn|
|00000800| 66 6f 20 2b 20 22 3c 62 | 72 3e 22 3b 0d 09 09 72 |fo + "<b|r>";...r|
|00000810| 65 73 70 6f 6e 73 65 20 | 2b 3d 20 22 66 72 6f 6d |esponse |+= "from|
|00000820| 53 65 72 76 65 72 3a 20 | 22 20 2b 20 66 72 6f 6d |Server: |" + from|
|00000830| 53 65 72 76 65 72 20 2b | 20 22 3c 62 72 3e 22 3b |Server +| "<br>";|
|00000840| 0d 09 09 72 65 73 70 6f | 6e 73 65 20 2b 3d 20 22 |...respo|nse += "|
|00000850| 76 69 61 50 6f 72 74 3a | 20 22 20 2b 20 76 69 61 |viaPort:| " + via|
|00000860| 50 6f 72 74 20 2b 20 22 | 3c 62 72 3e 22 3b 0d 09 |Port + "|<br>";..|
|00000870| 09 72 65 73 70 6f 6e 73 | 65 20 2b 3d 20 22 65 78 |.respons|e += "ex|
|00000880| 65 63 75 74 69 6e 67 42 | 79 3a 20 22 20 2b 20 65 |ecutingB|y: " + e|
|00000890| 78 65 63 75 74 69 6e 67 | 42 79 20 2b 20 22 3c 62 |xecuting|By + "<b|
|000008a0| 72 3e 22 3b 0d 09 09 72 | 65 73 70 6f 6e 73 65 20 |r>";...r|esponse |
|000008b0| 2b 3d 20 22 72 65 66 65 | 72 72 65 64 42 79 3a 20 |+= "refe|rredBy: |
|000008c0| 22 20 2b 20 72 65 66 65 | 72 72 65 64 42 79 20 2b |" + refe|rredBy +|
|000008d0| 20 22 3c 62 72 3e 22 3b | 0d 09 09 72 65 73 70 6f | "<br>";|...respo|
|000008e0| 6e 73 65 20 2b 3d 20 22 | 66 72 6f 6d 42 72 6f 77 |nse += "|fromBrow|
|000008f0| 73 65 72 3a 20 22 20 2b | 20 66 72 6f 6d 42 72 6f |ser: " +| fromBro|
|00000900| 77 73 65 72 20 2b 20 22 | 3c 62 72 3e 22 3b 0d 09 |wser + "|<br>";..|
|00000910| 09 72 65 73 70 6f 6e 73 | 65 20 2b 3d 20 22 75 73 |.respons|e += "us|
|00000920| 69 6e 67 41 63 74 69 6f | 6e 3a 20 22 20 2b 20 75 |ingActio|n: " + u|
|00000930| 73 69 6e 67 41 63 74 69 | 6f 6e 20 2b 20 22 3c 62 |singActi|on + "<b|
|00000940| 72 3e 22 3b 0d 09 09 72 | 65 73 70 6f 6e 73 65 20 |r>";...r|esponse |
|00000950| 2b 3d 20 22 6f 66 41 63 | 74 69 6f 6e 54 79 70 65 |+= "ofAc|tionType|
|00000960| 3a 20 22 20 2b 20 6f 66 | 41 63 74 69 6f 6e 54 79 |: " + of|ActionTy|
|00000970| 70 65 20 2b 20 22 3c 62 | 72 3e 22 3b 0d 09 09 72 |pe + "<b|r>";...r|
|00000980| 65 73 70 6f 6e 73 65 20 | 2b 3d 20 22 66 72 6f 6d |esponse |+= "from|
|00000990| 43 6c 69 65 6e 74 49 50 | 41 64 64 72 65 73 73 3a |ClientIP|Address:|
|000009a0| 20 22 20 2b 20 66 72 6f | 6d 43 6c 69 65 6e 74 49 | " + fro|mClientI|
|000009b0| 50 41 64 64 72 65 73 73 | 20 2b 20 22 3c 62 72 3e |PAddress| + "<br>|
|000009c0| 22 3b 0d 09 09 72 65 73 | 70 6f 6e 73 65 20 2b 3d |";...res|ponse +=|
|000009d0| 20 22 77 69 74 68 46 75 | 6c 6c 52 65 71 75 65 73 | "withFu|llReques|
|000009e0| 74 3a 20 22 20 2b 20 77 | 69 74 68 46 75 6c 6c 52 |t: " + w|ithFullR|
|000009f0| 65 71 75 65 73 74 20 2b | 20 22 3c 62 72 3e 22 3b |equest +| "<br>";|
|00000a00| 0d 09 09 72 65 73 70 6f | 6e 73 65 20 2b 3d 20 22 |...respo|nse += "|
|00000a10| 77 69 74 68 43 6f 6e 6e | 65 63 74 69 6f 6e 49 44 |withConn|ectionID|
|00000a20| 3a 20 22 20 2b 20 77 69 | 74 68 43 6f 6e 6e 65 63 |: " + wi|thConnec|
|00000a30| 74 69 6f 6e 49 44 20 2b | 20 22 3c 62 72 3e 22 3b |tionID +| "<br>";|
|00000a40| 0d 09 09 72 65 73 70 6f | 6e 73 65 20 2b 3d 20 22 |...respo|nse += "|
|00000a50| 3c 2f 48 54 4d 4c 3e 22 | 0d 09 7d 0d 09 63 61 74 |</HTML>"|..}..cat|
|00000a60| 63 68 20 28 65 29 0d 09 | 7b 0d 09 09 72 65 73 70 |ch (e)..|{...resp|
|00000a70| 6f 6e 73 65 20 3d 20 68 | 65 61 64 65 72 20 2b 20 |onse = h|eader + |
|00000a80| 22 45 72 72 6f 72 3a 20 | 22 20 2b 20 65 2e 74 6f |"Error: |" + e.to|
|00000a90| 53 74 72 69 6e 67 28 29 | 3b 0d 09 7d 0d 09 0d 09 |String()|;..}....|
|00000aa0| 72 65 74 75 72 6e 20 72 | 65 73 70 6f 6e 73 65 3b |return r|esponse;|
|00000ab0| 0d 7d 4d 41 52 4b 31 2e | 30 30 f8 00 18 90 41 4e |.}MARK1.|00....AN|
|00000ac0| 59 41 4a 73 63 72 00 01 | 00 0c fa de de ad 00 00 |YAJscr..|........|
|00000ad0| 00 32 32 2e 30 34 00 00 | 00 00 00 00 08 fc 00 0e |.22.04..|........|
|00000ae0| 00 00 00 85 48 44 44 53 | 70 98 19 4d 00 00 00 00 |....HDDS|p..M....|
|00000af0| 00 00 00 00 4a 84 c8 7c | 75 64 00 00 04 fa 09 09 |....J..||ud......|
|00000b00| 85 c0 09 09 00 00 08 fc | 66 75 6e 63 74 69 6f 6e |........|function|
|00000b10| 20 68 61 6e 64 6c 65 5f | 43 47 49 5f 72 65 71 75 | handle_|CGI_requ|
|00000b20| 65 73 74 28 61 65 5f 70 | 61 72 61 6d 73 29 20 7b |est(ae_p|arams) {|
|00000b30| 0d 09 76 61 72 20 68 65 | 61 64 65 72 20 3d 20 22 |..var he|ader = "|
|00000b40| 48 54 54 50 2f 31 2e 30 | 20 32 30 30 20 4f 4b 5c |HTTP/1.0| 200 OK\|
|00000b50| 6e 53 65 72 76 65 72 3a | 20 4d 61 63 48 54 54 50 |nServer:| MacHTTP|
|00000b60| 5c 6e 4d 49 4d 45 2d 56 | 65 72 73 69 6f 6e 3a 20 |\nMIME-V|ersion: |
|00000b70| 31 2e 30 5c 6e 43 6f 6e | 74 65 6e 74 2d 74 79 70 |1.0\nCon|tent-typ|
|00000b80| 65 3a 20 74 65 78 74 2f | 68 74 6d 6c 5c 6e 5c 6e |e: text/|html\n\n|
|00000b90| 22 3b 0d 09 0d 09 74 72 | 79 0d 09 7b 0d 09 09 76 |";....tr|y..{...v|
|00000ba0| 61 72 20 70 61 72 61 6d | 50 61 74 68 20 3d 20 61 |ar param|Path = a|
|00000bb0| 65 5f 70 61 72 61 6d 73 | 2e 6f 66 3b 0d 09 09 76 |e_params|.of;...v|
|00000bc0| 61 72 20 73 65 61 72 63 | 68 69 6e 67 46 6f 72 20 |ar searc|hingFor |
|00000bd0| 3d 20 61 65 5f 70 61 72 | 61 6d 73 2e 73 65 61 72 |= ae_par|ams.sear|
|00000be0| 63 68 69 6e 67 5f 66 6f | 72 3b 0d 09 09 76 61 72 |ching_fo|r;...var|
|00000bf0| 20 77 69 74 68 50 6f 73 | 74 65 64 44 61 74 61 20 | withPos|tedData |
|00000c00| 3d 20 61 65 5f 70 61 72 | 61 6d 73 2e 77 69 74 68 |= ae_par|ams.with|
|00000c10| 5f 70 6f 73 74 65 64 5f | 64 61 74 61 3b 0d 09 09 |_posted_|data;...|
|00000c20| 76 61 72 20 6f 66 43 6f | 6e 74 65 6e 74 54 79 70 |var ofCo|ntentTyp|
|00000c30| 65 20 3d 20 61 65 5f 70 | 61 72 61 6d 73 2e 6f 66 |e = ae_p|arams.of|
|00000c40| 5f 63 6f 6e 74 65 6e 74 | 5f 74 79 70 65 3b 0d 09 |_content|_type;..|
|00000c50| 09 76 61 72 20 75 73 69 | 6e 67 41 63 63 65 73 73 |.var usi|ngAccess|
|00000c60| 4d 65 74 68 6f 64 20 3d | 20 61 65 5f 70 61 72 61 |Method =| ae_para|
|00000c70| 6d 73 2e 75 73 69 6e 67 | 5f 61 63 63 65 73 73 5f |ms.using|_access_|
|00000c80| 6d 65 74 68 6f 64 3b 0d | 09 09 76 61 72 20 66 72 |method;.|..var fr|
|00000c90| 6f 6d 41 64 64 72 65 73 | 73 20 3d 20 61 65 5f 70 |omAddres|s = ae_p|
|00000ca0| 61 72 61 6d 73 2e 66 72 | 6f 6d 5f 61 64 64 72 65 |arams.fr|om_addre|
|00000cb0| 73 73 3b 0d 09 09 76 61 | 72 20 66 72 6f 6d 55 73 |ss;...va|r fromUs|
|00000cc0| 65 72 20 3d 20 61 65 5f | 70 61 72 61 6d 73 2e 66 |er = ae_|params.f|
|00000cd0| 72 6f 6d 5f 75 73 65 72 | 3b 0d 09 09 76 61 72 20 |rom_user|;...var |
|00000ce0| 75 73 69 6e 67 50 61 73 | 73 77 6f 72 64 20 3d 20 |usingPas|sword = |
|00000cf0| 61 65 5f 70 61 72 61 6d | 73 2e 75 73 69 6e 67 5f |ae_param|s.using_|
|00000d00| 70 61 73 73 77 6f 72 64 | 3b 0d 09 09 76 61 72 20 |password|;...var |
|00000d10| 77 69 74 68 55 73 65 72 | 49 6e 66 6f 20 3d 20 61 |withUser|Info = a|
|00000d20| 65 5f 70 61 72 61 6d 73 | 2e 77 69 74 68 5f 75 73 |e_params|.with_us|
|00000d30| 65 72 5f 69 6e 66 6f 3b | 0d 09 09 76 61 72 20 66 |er_info;|...var f|
|00000d40| 72 6f 6d 53 65 72 76 65 | 72 20 3d 20 61 65 5f 70 |romServe|r = ae_p|
|00000d50| 61 72 61 6d 73 2e 66 72 | 6f 6d 5f 73 65 72 76 65 |arams.fr|om_serve|
|00000d60| 72 3b 0d 09 09 76 61 72 | 20 76 69 61 50 6f 72 74 |r;...var| viaPort|
|00000d70| 20 3d 20 61 65 5f 70 61 | 72 61 6d 73 2e 76 69 61 | = ae_pa|rams.via|
|00000d80| 5f 70 6f 72 74 3b 0d 09 | 09 76 61 72 20 65 78 65 |_port;..|.var exe|
|00000d90| 63 75 74 69 6e 67 42 79 | 20 3d 20 61 65 5f 70 61 |cutingBy| = ae_pa|
|00000da0| 72 61 6d 73 2e 65 78 65 | 63 75 74 69 6e 67 5f 62 |rams.exe|cuting_b|
|00000db0| 79 3b 0d 09 09 76 61 72 | 20 72 65 66 65 72 72 65 |y;...var| referre|
|00000dc0| 64 42 79 20 3d 20 61 65 | 5f 70 61 72 61 6d 73 2e |dBy = ae|_params.|
|00000dd0| 72 65 66 65 72 72 65 64 | 5f 62 79 3b 0d 09 09 76 |referred|_by;...v|
|00000de0| 61 72 20 66 72 6f 6d 42 | 72 6f 77 73 65 72 20 3d |ar fromB|rowser =|
|00000df0| 20 61 65 5f 70 61 72 61 | 6d 73 2e 66 72 6f 6d 5f | ae_para|ms.from_|
|00000e00| 62 72 6f 77 73 65 72 3b | 0d 09 09 76 61 72 20 75 |browser;|...var u|
|00000e10| 73 69 6e 67 41 63 74 69 | 6f 6e 20 3d 20 61 65 5f |singActi|on = ae_|
|00000e20| 70 61 72 61 6d 73 2e 75 | 73 69 6e 67 5f 61 63 74 |params.u|sing_act|
|00000e30| 69 6f 6e 3b 0d 09 09 76 | 61 72 20 6f 66 41 63 74 |ion;...v|ar ofAct|
|00000e40| 69 6f 6e 54 79 70 65 20 | 3d 20 61 65 5f 70 61 72 |ionType |= ae_par|
|00000e50| 61 6d 73 2e 6f 66 5f 61 | 63 74 69 6f 6e 5f 74 79 |ams.of_a|ction_ty|
|00000e60| 70 65 3b 0d 09 09 76 61 | 72 20 66 72 6f 6d 43 6c |pe;...va|r fromCl|
|00000e70| 69 65 6e 74 49 50 41 64 | 64 72 65 73 73 20 3d 20 |ientIPAd|dress = |
|00000e80| 61 65 5f 70 61 72 61 6d | 73 2e 66 72 6f 6d 5f 63 |ae_param|s.from_c|
|00000e90| 6c 69 65 6e 74 5f 49 50 | 5f 61 64 64 72 65 73 73 |lient_IP|_address|
|00000ea0| 3b 0d 09 09 76 61 72 20 | 77 69 74 68 46 75 6c 6c |;...var |withFull|
|00000eb0| 52 65 71 75 65 73 74 20 | 3d 20 61 65 5f 70 61 72 |Request |= ae_par|
|00000ec0| 61 6d 73 2e 77 69 74 68 | 5f 66 75 6c 6c 5f 72 65 |ams.with|_full_re|
|00000ed0| 71 75 65 73 74 3b 0d 09 | 09 76 61 72 20 77 69 74 |quest;..|.var wit|
|00000ee0| 68 43 6f 6e 6e 65 63 74 | 69 6f 6e 49 44 20 3d 20 |hConnect|ionID = |
|00000ef0| 61 65 5f 70 61 72 61 6d | 73 2e 77 69 74 68 5f 63 |ae_param|s.with_c|
|00000f00| 6f 6e 6e 65 63 74 69 6f | 6e 5f 49 44 3b 0d 09 09 |onnectio|n_ID;...|
|00000f10| 0d 09 09 76 61 72 20 72 | 65 73 70 6f 6e 73 65 20 |...var r|esponse |
|00000f20| 3d 20 68 65 61 64 65 72 | 3b 0d 09 09 72 65 73 70 |= header|;...resp|
|00000f30| 6f 6e 73 65 20 2b 3d 20 | 22 3c 48 54 4d 4c 3e 3c |onse += |"<HTML><|
|00000f40| 48 45 41 44 3e 3c 54 49 | 54 4c 45 3e 4a 61 76 61 |HEAD><TI|TLE>Java|
|00000f50| 53 63 72 69 70 74 20 43 | 47 49 3c 2f 54 49 54 4c |Script C|GI</TITL|
|00000f60| 45 3e 3c 48 45 41 44 3e | 22 0d 09 09 72 65 73 70 |E><HEAD>|"...resp|
|00000f70| 6f 6e 73 65 20 2b 3d 20 | 22 70 61 74 68 3a 20 22 |onse += |"path: "|
|00000f80| 20 2b 20 70 61 72 61 6d | 50 61 74 68 20 2b 20 22 | + param|Path + "|
|00000f90| 3c 62 72 3e 22 3b 0d 09 | 09 72 65 73 70 6f 6e 73 |<br>";..|.respons|
|00000fa0| 65 20 2b 3d 20 22 73 65 | 61 72 63 68 69 6e 67 46 |e += "se|archingF|
|00000fb0| 6f 72 3a 20 22 20 2b 20 | 73 65 61 72 63 68 69 6e |or: " + |searchin|
|00000fc0| 67 46 6f 72 20 2b 20 22 | 3c 62 72 3e 22 3b 0d 09 |gFor + "|<br>";..|
|00000fd0| 09 72 65 73 70 6f 6e 73 | 65 20 2b 3d 20 22 77 69 |.respons|e += "wi|
|00000fe0| 74 68 50 6f 73 74 65 64 | 44 61 74 61 3a 20 22 20 |thPosted|Data: " |
|00000ff0| 2b 20 77 69 74 68 50 6f | 73 74 65 64 44 61 74 61 |+ withPo|stedData|
|00001000| 20 2b 20 22 3c 62 72 3e | 22 3b 0d 09 09 72 65 73 | + "<br>|";...res|
|00001010| 70 6f 6e 73 65 20 2b 3d | 20 22 6f 66 43 6f 6e 74 |ponse +=| "ofCont|
|00001020| 65 6e 74 54 79 70 65 3a | 20 22 20 2b 20 6f 66 43 |entType:| " + ofC|
|00001030| 6f 6e 74 65 6e 74 54 79 | 70 65 20 2b 20 22 3c 62 |ontentTy|pe + "<b|
|00001040| 72 3e 22 3b 0d 09 09 72 | 65 73 70 6f 6e 73 65 20 |r>";...r|esponse |
|00001050| 2b 3d 20 22 75 73 69 6e | 67 41 63 63 65 73 73 4d |+= "usin|gAccessM|
|00001060| 65 74 68 6f 64 3a 20 22 | 20 2b 20 75 73 69 6e 67 |ethod: "| + using|
|00001070| 41 63 63 65 73 73 4d 65 | 74 68 6f 64 20 2b 20 22 |AccessMe|thod + "|
|00001080| 3c 62 72 3e 22 3b 0d 09 | 09 72 65 73 70 6f 6e 73 |<br>";..|.respons|
|00001090| 65 20 2b 3d 20 22 66 72 | 6f 6d 41 64 64 72 65 73 |e += "fr|omAddres|
|000010a0| 73 3a 20 22 20 2b 20 66 | 72 6f 6d 41 64 64 72 65 |s: " + f|romAddre|
|000010b0| 73 73 20 2b 20 22 3c 62 | 72 3e 22 3b 0d 09 09 72 |ss + "<b|r>";...r|
|000010c0| 65 73 70 6f 6e 73 65 20 | 2b 3d 20 22 66 72 6f 6d |esponse |+= "from|
|000010d0| 55 73 65 72 3a 20 22 20 | 2b 20 66 72 6f 6d 55 73 |User: " |+ fromUs|
|000010e0| 65 72 20 2b 20 22 3c 62 | 72 3e 22 3b 0d 09 09 72 |er + "<b|r>";...r|
|000010f0| 65 73 70 6f 6e 73 65 20 | 2b 3d 20 22 75 73 69 6e |esponse |+= "usin|
|00001100| 67 50 61 73 73 77 6f 72 | 64 3a 20 22 20 2b 20 75 |gPasswor|d: " + u|
|00001110| 73 69 6e 67 50 61 73 73 | 77 6f 72 64 20 2b 20 22 |singPass|word + "|
|00001120| 3c 62 72 3e 22 3b 0d 09 | 09 72 65 73 70 6f 6e 73 |<br>";..|.respons|
|00001130| 65 20 2b 3d 20 22 77 69 | 74 68 55 73 65 72 49 6e |e += "wi|thUserIn|
|00001140| 66 6f 3a 20 22 20 2b 20 | 77 69 74 68 55 73 65 72 |fo: " + |withUser|
|00001150| 49 6e 66 6f 20 2b 20 22 | 3c 62 72 3e 22 3b 0d 09 |Info + "|<br>";..|
|00001160| 09 72 65 73 70 6f 6e 73 | 65 20 2b 3d 20 22 66 72 |.respons|e += "fr|
|00001170| 6f 6d 53 65 72 76 65 72 | 3a 20 22 20 2b 20 66 72 |omServer|: " + fr|
|00001180| 6f 6d 53 65 72 76 65 72 | 20 2b 20 22 3c 62 72 3e |omServer| + "<br>|
|00001190| 22 3b 0d 09 09 72 65 73 | 70 6f 6e 73 65 20 2b 3d |";...res|ponse +=|
|000011a0| 20 22 76 69 61 50 6f 72 | 74 3a 20 22 20 2b 20 76 | "viaPor|t: " + v|
|000011b0| 69 61 50 6f 72 74 20 2b | 20 22 3c 62 72 3e 22 3b |iaPort +| "<br>";|
|000011c0| 0d 09 09 72 65 73 70 6f | 6e 73 65 20 2b 3d 20 22 |...respo|nse += "|
|000011d0| 65 78 65 63 75 74 69 6e | 67 42 79 3a 20 22 20 2b |executin|gBy: " +|
|000011e0| 20 65 78 65 63 75 74 69 | 6e 67 42 79 20 2b 20 22 | executi|ngBy + "|
|000011f0| 3c 62 72 3e 22 3b 0d 09 | 09 72 65 73 70 6f 6e 73 |<br>";..|.respons|
|00001200| 65 20 2b 3d 20 22 72 65 | 66 65 72 72 65 64 42 79 |e += "re|ferredBy|
|00001210| 3a 20 22 20 2b 20 72 65 | 66 65 72 72 65 64 42 79 |: " + re|ferredBy|
|00001220| 20 2b 20 22 3c 62 72 3e | 22 3b 0d 09 09 72 65 73 | + "<br>|";...res|
|00001230| 70 6f 6e 73 65 20 2b 3d | 20 22 66 72 6f 6d 42 72 |ponse +=| "fromBr|
|00001240| 6f 77 73 65 72 3a 20 22 | 20 2b 20 66 72 6f 6d 42 |owser: "| + fromB|
|00001250| 72 6f 77 73 65 72 20 2b | 20 22 3c 62 72 3e 22 3b |rowser +| "<br>";|
|00001260| 0d 09 09 72 65 73 70 6f | 6e 73 65 20 2b 3d 20 22 |...respo|nse += "|
|00001270| 75 73 69 6e 67 41 63 74 | 69 6f 6e 3a 20 22 20 2b |usingAct|ion: " +|
|00001280| 20 75 73 69 6e 67 41 63 | 74 69 6f 6e 20 2b 20 22 | usingAc|tion + "|
|00001290| 3c 62 72 3e 22 3b 0d 09 | 09 72 65 73 70 6f 6e 73 |<br>";..|.respons|
|000012a0| 65 20 2b 3d 20 22 6f 66 | 41 63 74 69 6f 6e 54 79 |e += "of|ActionTy|
|000012b0| 70 65 3a 20 22 20 2b 20 | 6f 66 41 63 74 69 6f 6e |pe: " + |ofAction|
|000012c0| 54 79 70 65 20 2b 20 22 | 3c 62 72 3e 22 3b 0d 09 |Type + "|<br>";..|
|000012d0| 09 72 65 73 70 6f 6e 73 | 65 20 2b 3d 20 22 66 72 |.respons|e += "fr|
|000012e0| 6f 6d 43 6c 69 65 6e 74 | 49 50 41 64 64 72 65 73 |omClient|IPAddres|
|000012f0| 73 3a 20 22 20 2b 20 66 | 72 6f 6d 43 6c 69 65 6e |s: " + f|romClien|
|00001300| 74 49 50 41 64 64 72 65 | 73 73 20 2b 20 22 3c 62 |tIPAddre|ss + "<b|
|00001310| 72 3e 22 3b 0d 09 09 72 | 65 73 70 6f 6e 73 65 20 |r>";...r|esponse |
|00001320| 2b 3d 20 22 77 69 74 68 | 46 75 6c 6c 52 65 71 75 |+= "with|FullRequ|
|00001330| 65 73 74 3a 20 22 20 2b | 20 77 69 74 68 46 75 6c |est: " +| withFul|
|00001340| 6c 52 65 71 75 65 73 74 | 20 2b 20 22 3c 62 72 3e |lRequest| + "<br>|
|00001350| 22 3b 0d 09 09 72 65 73 | 70 6f 6e 73 65 20 2b 3d |";...res|ponse +=|
|00001360| 20 22 77 69 74 68 43 6f | 6e 6e 65 63 74 69 6f 6e | "withCo|nnection|
|00001370| 49 44 3a 20 22 20 2b 20 | 77 69 74 68 43 6f 6e 6e |ID: " + |withConn|
|00001380| 65 63 74 69 6f 6e 49 44 | 20 2b 20 22 3c 62 72 3e |ectionID| + "<br>|
|00001390| 22 3b 0d 09 09 72 65 73 | 70 6f 6e 73 65 20 2b 3d |";...res|ponse +=|
|000013a0| 20 22 3c 2f 48 54 4d 4c | 3e 22 0d 09 7d 0d 09 63 | "</HTML|>"..}..c|
|000013b0| 61 74 63 68 20 28 65 29 | 0d 09 7b 0d 09 09 72 65 |atch (e)|..{...re|
|000013c0| 73 70 6f 6e 73 65 20 3d | 20 68 65 61 64 65 72 20 |sponse =| header |
|000013d0| 2b 20 22 45 72 72 6f 72 | 3a 20 22 20 2b 20 65 2e |+ "Error|: " + e.|
|000013e0| 74 6f 53 74 72 69 6e 67 | 28 29 3b 0d 09 7d 0d 09 |toString|();..}..|
|000013f0| 0d 09 72 65 74 75 72 6e | 20 72 65 73 70 6f 6e 73 |..return| respons|
|00001400| 65 3b 0d 7d 00 00 01 00 | 00 00 13 84 00 00 12 84 |e;.}....|........|
|00001410| 00 00 00 b6 08 c2 bf 8c | 04 fa 00 00 00 1c 00 aa |........|........|
|00001420| 00 06 53 49 5a 45 00 00 | 00 3a 73 70 73 68 00 00 |..SIZE..|.:spsh..|
|00001430| 00 46 70 72 65 66 00 00 | 00 52 57 50 6f 73 00 00 |.Fpref..|.RWPos..|
|00001440| 00 5e 73 63 70 74 00 00 | 00 6a 44 42 47 68 00 00 |.^scpt..|.jDBGh..|
|00001450| 00 76 54 45 58 54 00 00 | 00 82 00 01 ff ff 00 00 |.vTEXT..|........|
|00001460| 00 00 00 00 00 00 00 00 | ff ff 00 00 00 0e 00 00 |........|........|
|00001470| 00 00 00 80 ff ff 00 00 | 00 14 00 00 00 00 00 80 |........|........|
|00001480| ff ff 00 00 00 1a 00 00 | 00 00 00 80 ff ff 00 00 |........|........|
|00001490| 00 32 00 00 00 00 00 80 | ff ff 00 00 09 4e 00 00 |.2......|.....N..|
|000014a0| 00 00 07 d0 00 00 00 00 | 09 84 00 00 00 00 0b 53 |........|.......S|
|000014b0| 6f 75 72 63 65 20 54 65 | 78 74 00 00 00 00 00 00 |ource Te|xt......|
|000014c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+